<?php
/**
 * Created by PhpStorm.
 * User: lyang
 * Date: 2016/12/31
 * Time: 12:30
 */
session_start();
define("ROOT",__DIR__);
require_once ( ROOT."/conf/conf.php");
$cache = YC::make("Cache");
$router = YC::make("Router");
$cache->_begin($_SERVER["REQUEST_URI"],1);
$router->run();
$cache->_end($_SERVER["REQUEST_URI"],1);
